public class Date {
    public int year;
    public int month;
    public int day;
    public void setDay(int year, int month, int day){
        this.year = year;
        this.month = month;
        this.day = day;
    }
    public void printDate(){
        System.out.println(year + "/" + month + "/" + day);
    }

    public static void main(String[] args) {
        Date day1 = new Date();
        Date day2 = new Date();
        Date day3 = new Date();

        day1.setDay(2003,1,2);
        day2.setDay(2013,2,2);
        day3.setDay(2023,3,2);

        day1.printDate();
        day2.printDate();
        day3.printDate();
    }
}
